<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<f:view>
    <html lang="en">
        <head>
            <title>Authentification USER</title>
        </head>
        <body>
            <h:form prependId="false">
                <h:panelGrid id="panelLogin" columnClasses="colLabel,colValor" columns="2">
                    <f:facet name="header">
                        <h:outputText value="Authentification" />
                    </f:facet>
                    <h:outputLabel value="login" for="login" />
                    <h:inputText id="login" value="#{UserControl.login }" />
                    <h:outputLabel value="Password" for="mdp" />
                    <h:inputText id="mdp" value="#{UserControl.mdp }" /> 
                    <f:facet name="footer">
                        <h:panelGrid  columns="2">
                            <h:commandButton value="connect" action="#{UserControl.connect}"   />                                
                        </h:panelGrid>
                    </f:facet>
                </h:panelGrid> 
            </h:form>         
        </body>
    </html>
</f:view>